﻿using Ledict.ConditionExtract.DAL;
using Ledict.ConditionExtract.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ledict.ConditionExtract.BLL
{
    public class ElementExtractSourceBLL
    {
        ElementExtractSourceDAL ees = new ElementExtractSourceDAL();
        /// <summary>
        /// 增加ElementExtractSource表数据
        /// </summary>
        public bool ElementExtractSourceAdd(ElementExtractSource model)
        {
            return ees.ElementExtractSourceAdd(model);
        }

        /// <summary>
        /// 删除ElementExtractSource表数据
        /// </summary>
        public bool ElementExtractSourceDelete(string eesId)
        {
            return ees.ElementExtractSourceDelete(eesId);
        }

        /// <summary>
        /// 修改ElementExtractSource表数据
        /// </summary>
        public bool ElementExtractSourceUpdate(ElementExtractSource model)
        {
            return ees.ElementExtractSourceUpdate(model);
        }

        /// <summary>
        /// 获取ElementExtractSource表数据
        /// </summary>
        public DataTable GetElementExtractSourceData(string eesId)
        {
            return ees.GetElementExtractSourceData(eesId);
        }
    }
}
